<template>
    <div>{{ workPaper }}</div>
</template>

<script setup lang="ts">
import { getPaper } from "@/api/work"
import workType from "@type/work"
import { ref, Ref } from "vue"
let workPaper: Ref<workType> = ref({})
async function getWork() {
    let { data } = await getPaper(24)
    workPaper.value = data
}
getWork()
</script>